package cn.wolfcode.wolf2w.service;


import cn.wolfcode.wolf2w.domain.StrategyComment;
import cn.wolfcode.wolf2w.domain.UserInfo;
import cn.wolfcode.wolf2w.query.StrategyCommentQuery;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 攻略评论服务接口
 */
public interface IStrategyCommentService {


    StrategyComment get(String id);

    List<StrategyComment> selectAll();

    Page<StrategyComment> query(StrategyCommentQuery qo);

    void update(StrategyComment travel);

    void save(StrategyComment travel);

    void deleteById(String id);

    void saveOrUpdate(StrategyComment travel, UserInfo userInfo);

    void addComment(StrategyComment strategyComment);

    void commentThumb(String cid, String userInfo);
}
